package com.ruoyi.djb.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 住户管理对象 djb_district_user
 * 
 * @author xxd
 * @date 2023-12-08
 */
public class DjbDistrictUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Integer id;

    /** user表的ID */
    @Excel(name = "user表的ID")
    private Integer userId;

    /** 小区的ID */
    @Excel(name = "小区的ID")
    private Integer districtId;

    private String districtName;

    /** 0 待审核 1通过 2拒绝 */
    @Excel(name = "0 待审核 1通过 2拒绝")
    private Integer status;

    /** 住址 */
    @Excel(name = "住址")
    private String address;

    /** 称呼 */
    @Excel(name = "称呼")
    private String name;

    /** 电话 */
    @Excel(name = "电话")
    private String mobile;

    /** 楼座 */
    @Excel(name = "楼座")
    private Integer building;

    /** 单元 */
    @Excel(name = "单元")
    private Integer unit;

    /** 层 */
    @Excel(name = "层")
    private Integer floor;

    /** 房间 */
    @Excel(name = "房间")
    private Integer room;

    private String head;

    private String districtPhone;

    private Integer type;//1 是户主  0 不是户主

    private Integer authentication;

    public Integer getAuthentication() {
        return authentication;
    }

    public void setAuthentication(Integer authentication) {
        this.authentication = authentication;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDistrictPhone() {
        return districtPhone;
    }

    public void setDistrictPhone(String districtPhone) {
        this.districtPhone = districtPhone;
    }

    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setDistrictId(Integer districtId) 
    {
        this.districtId = districtId;
    }

    public Integer getDistrictId() 
    {
        return districtId;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setBuilding(Integer building)
    {
        this.building = building;
    }

    public Integer getBuilding()
    {
        return building;
    }
    public void setUnit(Integer unit) 
    {
        this.unit = unit;
    }

    public Integer getUnit() 
    {
        return unit;
    }
    public void setFloor(Integer floor) 
    {
        this.floor = floor;
    }

    public Integer getFloor() 
    {
        return floor;
    }
    public void setRoom(Integer room) 
    {
        this.room = room;
    }

    public Integer getRoom() 
    {
        return room;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("districtId", getDistrictId())
            .append("status", getStatus())
            .append("address", getAddress())
            .append("name", getName())
            .append("mobile", getMobile())
            .append("remark", getRemark())
            .append("building", getBuilding())
            .append("unit", getUnit())
            .append("floor", getFloor())
            .append("room", getRoom())
            .toString();
    }
}
